github.com/klauspost/compress/flate.huffmanBitWriter.writeBits (method)

14 uses

	github.com/klauspost/compress/flate (current package)
		huffman_bit_writer.go#L224: func (w *huffmanBitWriter) writeBits(b int32, nb uint8) {
		huffman_bit_writer.go#L469: 	w.writeBits(firstBits, 3)
		huffman_bit_writer.go#L470: 	w.writeBits(int32(numLiterals-257), 5)
		huffman_bit_writer.go#L471: 	w.writeBits(int32(numOffsets-1), 5)
		huffman_bit_writer.go#L472: 	w.writeBits(int32(numCodegens-4), 4)
		huffman_bit_writer.go#L476: 		w.writeBits(int32(value), 3)
		huffman_bit_writer.go#L490: 			w.writeBits(int32(w.codegen[i]), 2)
		huffman_bit_writer.go#L493: 			w.writeBits(int32(w.codegen[i]), 3)
		huffman_bit_writer.go#L496: 			w.writeBits(int32(w.codegen[i]), 7)
		huffman_bit_writer.go#L519: 		w.writeBits(0, 7)
		huffman_bit_writer.go#L528: 	w.writeBits(flag, 3)
		huffman_bit_writer.go#L530: 	w.writeBits(int32(length), 16)
		huffman_bit_writer.go#L531: 	w.writeBits(int32(^uint16(length)), 16)
		huffman_bit_writer.go#L549: 	w.writeBits(value, 3)